const devProxyHost = import.meta.env.VITE_APP_DEVELOPMENT_PROXY_PREFIX
const prodBaseUrl = import.meta.env.VITE_APP_PRODUCTION_URL

let baseUrl = ''
if (import.meta.env.DEV) {
  baseUrl = devProxyHost as string // url公共前缀(代理)
} else if (import.meta.env.PROD) {
  baseUrl = `${prodBaseUrl}` as string
}

export default {
  baseUrl,
  devProxyHost,
  prodBaseUrl
}
